package net.alche.fa.core.model;
import java.util.Map;
import java.util.HashMap;

//
// 断点对象
//
public class BreakPoint {
    Map<String,Boolean> breakPointMap;

  public BreakPoint() {
    breakPointMap = new HashMap<>();
  }

  public void putPoint(String nodeId, String rowId) {
    breakPointMap.put(nodeId + "__" + rowId, true);
  }

  public boolean isPoint(String nodeId, String rowId) {
    Boolean bool = breakPointMap.get(nodeId + "__" + rowId);
    return bool != null && bool;
  }
}